__label__YES ">the current version of the util.h file in the avr-stable release branch can cause serious personal injury."
__label__YES "if you are using arm/disarm options and you connect your battery to apm / apm, it will turn on your engine if your tx rc radio is off."
__label__NO "please, upgrade official avr branch with this patch."
__label__NO ">regards from spain, dario."
__label__NO "copter: add support for polygon fences"
__label__YES "copter: speed set during mission affects rtl"
__label__YES "this is a safety risk."
__label__YES "imagine this: you have a mission to circle around a windmill km at sea, ap flies there, do_set_speed sets speed to m/s for the photos - then a failsafe kicks in, or you need it due to loss of video - now the copter is returning home, at m/s."
__label__YES ">mission speed should only be enforced during mission, for rtl and other operations, the configured speed should be used."
__label__YES "quadplane bug: qmotors activate with hardware safety switch disarmed."
__label__NO "#### issue details"
__label__YES ">if i press the hardware safety switch so that its light is flashing, and i see ""safe"" on the mp hud, then turn off the rc tx, the qmotors fire up and attempt an rtl."
__label__YES "if i first disarm using left rudder (manual mode required, see #), then disarm using the hardware switch, then the motors will not engage when failsafe is activated."
__label__YES ">the hardware switch should be a master disarm switch which does not require rudder disarming."
__label__NO "#### version"
__label__NO ">. #### platform"
__label__NO ">[ x ] qplane #### airframe type"
__label__NO ">dr aero #### hardware type"
__label__NO ">pixhawk #### logs"
__label__NO >
__label__YES "plane: px mixer fails to program reliably leading to no working overrides"
__label__NO "#### issue details"
__label__YES ">px mixer appears to be working, but the override is not correctly configured for some reason, which leads to the overrides not working."
__label__YES "this in turn leads to an inability to override the aircraft for safety of flight reasons or otherwise."
__label__NO "i've sen this twice now out of or so flights."
__label__NO "and again the message of pxio override enabled came out, but that is simply a statustext from the fmu and is meaningless."
__label__YES "i _strongly_ move that message is either removed or only be emitted under positive confirmation that override is working, instead of just monitoring and deciding that the pwm is in the correct spot to enable overrides."
__label__YES "this current behavior has caused multiple users to be extremely confused about the state of the overrides."
__label__NO "#### version"
__label__NO ">cdad #### platform"
__label__NO ">[ ] all [ ] antennatracker [ ] copter [ x ] plane [ ] rover #### hardware type"
__label__NO ">pixhawk #### logs"
__label__NO ">not yet uploaded (need to make a smaller one, rather then uploading something near mb)"
__label__YES "plane: motor spins when disarmed"
__label__NO "#### issue details"
__label__YES ">when the plane is disarmed and on the ground the user is able to spin up the motor by simply reversing the throttle in mission planner."
__label__NO "this has also been confirmed in sitl."
__label__NO "#### version"
__label__NO ">.. #### platform"
__label__NO ">[ ] all [ ] antennatracker [ ] copter [x] plane [ ] rover #### airframe type"
__label__NO ">fixed wing #### hardware type"
__label__NO ">pixhawk #### logs"
__label__NO >
__label__YES "copter: support ap_gps arming checks"
__label__NO "#### issue details"
__label__NO ">the u-blox driver audits that it has fully programmed the gps settings which we expect and need."
__label__NO "the arming checks have been in plane for quite a while and well proven there:"
__label__NO ">it would be really nice to fit this in the . release."
__label__NO "i thought this had made it into copter a long time ago, but this provides a much better audit of having the gps settings that were requested, and ensuring that the performance matches the assumptions that the rest of the system are making"
__label__NO ">i'm not sure if it's to late to get this in @rmackay but it would be really nice if at all possible."
__label__NO "#### platform"
__label__NO ">[ ] all [ ] antennatracker [ x ] copter [ ] plane [ ] rover"
__label__YES "safety switch is broken in master"
__label__NO "#### issue details"
__label__YES ">safety switch won't work by physically pushing it on master."
__label__NO "#### version"
__label__NO ">ae #### platform"
__label__NO ">[ x ] all [ ] antennatracker [ ] copter [ ] plane [ ] rover #### airframe type"
__label__NO ">tested on plane, assuming applies to all vehicles."
__label__YES "plane: add protection against bad gps positions"
__label__YES "i had a good plane mission going and all of a sudden the plane began roller coastering."
__label__NO "i got it down safely, checked the logs, and found that hdrop value had gone from . to . and i satellite count from to ."
__label__NO "anything you can do to help in this situation?"
__label__YES "ap_airspeed: failed sensor data propagates through all control loops"
__label__NO "#### issue details first comment: i hope to be proven wrong on this."
__label__YES ">we can have a failed sensor for a variety of reasons, in this case we are considering a failed sensor to be anytime ap_airspeed::healthy() would return false (no valid data from the sensor within the last . seconds)."
__label__NO "we use this when we emit the airspeed healthy flag to the system."
__label__NO "however that doesn't stop us from using the data after that."
__label__YES ">the first failure is that when we compute the raw airspeed value (this is what you see logged for airspeed data) we ask ap_airspeed::get_pressure() for a pressure value."
__label__YES "if we don't succeed in getting a differential pressure we mark ourselves as not healthy."
__label__YES "however we return , which since the sensor health isn't checked within read() allows the value to propagate through the system."
__label__NO "we then add our offsets, multiply by the ratio and take the square root for the _raw_airspeed value."
__label__NO "this will always result in a fixed value."
__label__NO "in my example an offset of around and a ratio of . leads to a fixed airspeed of . being reported)."
__label__NO ">we then integrate this data into the _airspeed estimate."
__label__YES "the problem is that if we take a library like tecs it simply calls ap_ahrs::airspeed_estimate() which just checks that the sensor is enabled."
__label__NO "it then fetches the current airspeed (which will be the . value after it makes it through the filter) and uses it."
__label__YES "this means that a failed sensor will perpetually be read at this value, and your control loops will all be based around a fixed estimate, and not allow any of the fallback code to run (such as tecs has some code that attempts to manage this scenario)."
__label__NO ">i'd **strongly** like to be wrong about this, so please double check my audit of the code involved with this."
__label__NO "if you have any log data that returns . as the airspeed temperature, and you had an airspeed sensor enabled you would have been affected by this."
__label__NO ">#### version master"
__label__NO ">#### platform [ ] all [ ] antennatracker [ ] copter [ x ] plane [ ] rover"
__label__YES "gps glitches when using two gps modules"
__label__YES "a flight log with two active gps modules shows gps glitches in minutes of flight, while gps conditions were ok (hdop<.)."
__label__NO ">flight log is available here:"
__label__NO ">more information:"
__label__YES "plane v..: stall recovery takes too long to recover a positive attitude and regain altitude"
__label__NO "@tridge , i wanted to thank you for improving ap so that rtl could be more reliable as a ""oh crap"" switch to recover from unexpected situations/pilot loss of control."
__label__YES "unfortunately it almost failed me a couple of days ago by losing a lot of altitude before finally recovering."
__label__YES ">video to follow along: i used auto takeoff and that worked ok (sec) when i switched to fbwa i had an issue with my controller commanding too much pitch down and while i was trying to figure out what was wrong, i realized i was too low and losing altitude fast, so i switched to manu, managed to over correct, stall, and then switch to rtl."
__label__NO "::, altitude is m airspeed is kph (too low)."
__label__YES ":: airplane pitches down to - degrees likely due to the stall, airspeed is back to kph, way above flying speed, altitude is m now is where i'm not very happy with rtl."
__label__YES ":: plane is still pitched down, degrees, still losing altitude and on top of that it decides to turn back down to the rtl point when recovering altitude should be # priority (rtl point is m, altitude is m) :: plane still pitched down degrees, airspeed is now kph going towards a crash, altitude is now m : : attitude is finally brought back to towards nose up, altitude is a mere m, it's only by luck that the plane didn't crash after that rtl does the right thing."
__label__YES ">my problem is that rtl lost over m of altitude when it could have recovered a positive rate of climb almost instantly from offset :."
__label__YES "sure, only seconds went by, but in those seconds, m of altitude were lost and the plane could have crashed into a tree, or the ground if it had started just a bit lower"
__label__YES ">plane is a bixler , with flaps (not controlled by ap)."
__label__NO "flaps were up at the time this happened."
__label__NO "bin from the flight:"
__label__NO ">channels: o ch : right aileron a o ch : elevator e o ch : throttle t o ch : rudder r o ch : left aileron o ch : r flap o ch : l flap o ch: apm mode"
__label__YES "copter: add prearm check for home position set"
__label__YES "we probably shouldn't be allowing an arm at all if home position is not set."
__label__YES "rtl cannot work and there isn't really enough indication of that."
__label__NO "plane: add aoa (angle of attack) sensor"
__label__YES "(moved from dd thread by jason franciosa) if we could develop a cost effective aoa sensor that is reliable i think this is the ultimate solution for stall prevention."
__label__YES "although, i don't think it completely rules out the need for stall detection and recovery as nothing is % bullet proof"
__label__NO "all: rc_override_active not properly managed"
__label__NO "so current top of tree (@abfe) shows an interesting problem."
__label__NO "i don't see any place in plane that is setting rc_override_active."
__label__YES "this is probably a mistake because it means that it won't do the failsafe action if it loses gcs heartbeat."
__label__NO ">~/development/drone/ardupilot$ grep -r ""rc_override_active ="" \* apmrover/apmrover.pde:static bool rc_override_active = false; apmrover/system.pde: rc_override_active = hal.rcin->set_overrides(rc_override, ); arducopter/gcs_mavlink.pde: ap.rc_override_active = true; arducopter/gcs_mavlink.pde~: ap.rc_override_active = true;"
__label__YES "plane: crash, partial data freeze, during unusual autotune procedure."
__label__NO "forum user posted this log:"
__label__NO ">ap .. in autotune, using rudder input while flying otherwise ok, even rtl."
__label__YES "- he gets a throttle fs,(ap switches to circle) , rcout is frozen, altitude and other data looks very strange too, ~sec later the plane crashed."
__label__YES "- and suddenly updated altitude from to . m"
__label__YES "copter: sonar error detection"
__label__YES "the copter will fly away if something wrong with your sonar."
__label__NO "for example, disconnect cable."
__label__NO "jammed sound path way."
__label__YES ">when something wrong with your sonar, keep report a distance like cm."
__label__YES "the copter will keep climb in loiter/alt mode, because it think it keep cm above ground."
__label__YES "at the same time, the baro alt is growing, but apm just ignore it because the sonar alt was trusted."
__label__YES "sonar should be disabled when baro alt shows climb more thanm, but sonar alt keep still."
__label__YES "upgrading to ap . seems to cut the throttle output a split second during init and triggers an error on castle escs."
__label__NO "initially reported here i did more testing with a servo controller and talked to a castle engineer."
__label__YES "the beep code i started getting on different planes after i upgraded them to . (one with pixhawk, one with pixfalcon), means (as quoted by castle) ""what is happening is at some point after the esc is armed the flight controller is not sending a throttle signal - even if for a split second""."
__label__NO "i've used a servo tester to verify that behaviour: ) boot the esc with the servo tester plugged in at any pwm value ) esc arms ) unplug servo tester ) plug servo tester back in ) esc complains about loss of signal with beep code that never ends until power is reset ) resetting power brings me back to step #"
__label__NO ">the only way to make things work is to boot the pixhawk with loss of signal, then it boots in circle mode and sends throttle value to the esc from the beginning without dropping the signal then turn the lrs radio on and start feeding data to the pixhawk, it gets out of circle and back to manu, then things work good until the fc is rebooted."
__label__NO "i did not have this problem with ap . or ., so i'm pretty certain something in the code changed that causes a very quick drop of signal on ch."
__label__NO "i also checked that booting the esc with a pwm value as low as is not a problem, so it's not a throttle failsafe or initial throttle value issue from the lrs system like i originally thought."
__label__YES "log if gps updates are slow"
__label__YES "during copter-. beta testing one users's gps started updating slowly (.hz instead of hz) about seconds before it lost lock completely."
__label__NO ">it would have been good if we could log the slow update rate in the dataflash logs as an error to ease support - it took me a while to notice the slow update rate."
__label__YES ">we should probably also have reported the gps as unhealthy to the ground station somehow so that the user was aware there was a problem."
__label__YES "should auto activate if certain conditions are not met?"
__label__YES "(like gyros not calibrated)"
__label__NO "ap .rc."
__label__YES "so, i'll start by saying that ultimately the plane crash is my fault and responsibility, however ap could potentially have refused to activate auto if something critical like gyros weren't working."
__label__NO ">what happened: ) my bixler that had repeated problems with the cameras making the gps signal marginal and prevented arming ) when on the field, i used tower, and sadly due to it didn't give me any messages from mavlink, so it left me in the dark about the real reason."
__label__NO "sadly, i stupidly guessed that arming was for the th time, a gps issue, and overrode it (i did not need gps for the flight i was going to make)"
__label__NO ">yes, i'm upset that tower hid critical information i needed to have, and will look for another android ground station that does not do this (should there be one)."
__label__NO "andropilot does the right thing, but ) seems like a dead project sadly, ) does not seem to plot my aircraft route on the screen, which tower does do."
__label__YES ">i then activated auto and although the gyros were not working (didn't know this of course), auto did activate, and promptly took off, tipped over to the side, and crashed at full power into the ground, being unable to level the plane."
__label__YES ">should auto refuse to activate if some critical things like gyro aren't working?"
__label__NO ">messages: -- ::.: msg {timeus : , message : airspeed calibration started} -- ::.: msg {timeus : , message : ground start complete} -- ::.: msg {timeus : , message : arduplane v..beta (bd)} -- ::.: msg {timeus : , message : px: da nuttx: aba} -- ::.: msg {timeus : , message : pxv } -- ::.: msg {timeus : , message : new mission} -- ::.: msg {timeus : , message : airspeed sensor calibrated} -- ::.: msg {timeus : , message : gps : detected as u-blox at baud} -- ::.: msg {timeus : , message : ekf imu initial yaw alignment complete} -- ::.: msg {timeus : , message : ekf imu initial yaw alignment complete} -- ::.: msg {timeus : , message : init home} -- ::.: msg {timeus : , message : ekf imu tilt alignment complete} -- ::.: msg {timeus : , message : ekf imu tilt alignment complete} -- ::.: msg {timeus : , message : u-blox hw: sw: . ()} -- ::.: msg {timeus : , message : ekf imu origin set to gps} -- ::.: msg {timeus : , message : ekf imu origin set to gps} -- ::.: msg {timeus : , message : ekf imu is using gps} -- ::.: msg {timeus : , message : ekf imu is using gps} -- ::.: msg {timeus : , message : prearm: gyros not calibrated} -- ::.: msg {timeus : , message : prearm: gyros not calibrated} -- ::.: msg {timeus : , message : prearm: gyros not calibrated} -- ::.: msg {timeus : , message : prearm: gyros not calibrated} -- ::.: msg {timeus : , message : prearm: gyros not calibrated} -- ::.: msg {timeus : , message : prearm: gyros not calibrated} -- ::.: msg {timeus : , message : prearm: gyros not calibrated} -- ::.: msg {timeus : , message : throttle armed} -- ::.: msg {timeus : , message : executing nav command id #} -- ::.: msg {timeus : , message : resetting previous waypoint} -- ::.: msg {timeus : , message : armed auto, xaccel = . m/s/s, waiting . sec} -- ::.: msg {timeus : , message : triggered auto."
__label__NO "gps speed = .} -- ::.: msg {timeus : , message : holding course at .m/s (.)}"
__label__NO ">it may be that the answer is ""no"", if so feel free to close this."
__label__NO [.bin.gz](
__label__YES "plane: landing aborts will fly away with certain missions"
__label__YES "#### issue details plane will fly away (and climb) forever if you have a mission that looks like the following and issue a mavlink mav_cmd_do_go_around: ."
__label__NO "some number of waypoints (doesn't really matter, i didn't test without any waypoints, but i suspect it will still happen) ."
__label__NO "do_land_start ."
__label__NO land
__label__NO ">this behaviour happens regardless of if landing type is deepstall, or glide slope."
__label__NO "the above mission makes % sense for deepstall, it is a bit illogical for normal glide slope landing but still should never result in a fly away."
__label__NO ">i'm investigating this locally now, and will hopefully find the error/solution shortly, but i'm opening the issue as a blocker for . (and safety note)"
__label__NO ">#### version master"
__label__NO ">#### platform [ ] all [ ] antennatracker [ ] copter [ x ] plane [ ] rover"
__label__YES "plane: fix a fly away when aborting a landing"
__label__YES "do_land_start -> land waypoints in sequence would cause a perpetual abort state due to the sticky nature of the abort states."
__label__NO "if we restart a landing on purpose while doing an abort, then we can move onto trying to land again."
__label__NO ">this closes #"
__label__YES "plane: if overrides are enabled check mixer health on arming"
__label__YES "#### issue details if overrides are enabled then the mixer passing should be a preflight arming check, since we can fetch and assess the mixers status."
__label__NO ">#### platform [ ] all [ ] antennatracker [ ] copter [ x ] plane [ ] rover"
__label__YES "baro: extend health check to ensure values are changing"
__label__YES "the current ap_baro health check ( checks:"
__label__NO ">- data has arrived in the past . seconds - pressure is non-zero"
__label__NO ">we should extend this to also check that the values are changing."
__label__NO "they don't need to change on every read of course but we should have seen some change in pressure or temperature with in the last . (or more?) seconds."
__label__YES ">i'm raising this issue because i've seen one log where the sensor kept responding but provided the same value in every response."
__label__YES "copter: gps glitch pre-arm check and notification"
__label__YES "this pr adds the following change to improve user awareness of gps glitches:"
__label__YES ">- rgb led flashes blue and yellow during a glitch (for all vehicles) - copter pre-arm gps checks gets additional check for glitches - copter: ""gps glitch"" and ""gps glitch cleared"" messages sent to ground station (which should appear on hud) - copter dataflash logging of glitch as an error"
__label__YES ">i plan to follow this pr up with another to add a gps glitch failsafe but that is slightly trickier and will require more testing while this pr is relatively safe and could be added to an ac. point release fairly easily."
__label__YES "plane: tecs: navl_lim_bank does not have an appropriate minimum angle forced"
__label__NO "#### issue details when i initially proposed navl_lim_bank i didn't think to clip this for values that are simply illogically low."
__label__NO "setting very low values like degrees results in incredibly large loiter radiuses."
__label__NO "at a minimum we should refuse to use the lim_bank parameter if it would result in a sea level radius greater then the wp_loiter_rad."
__label__NO ">this is straightforward to implement, just noting here so that i don't forget to fix this within the next couple of weeks."
__label__NO ">#### version master"
__label__NO ">#### platform [ ] all [ ] antennatracker [ ] copter [ x ] plane [ ] rover"
__label__NO "copter: enable arming_min_volt"
__label__YES "copter doesn't use the arming_min_volt parameter but we should to allow an optional check that the batteries are charged before takeoff."
__label__YES "copter: pre-arm check of gps update rate"
__label__YES "we had one crash on ac. testing because the gps was updating at only hz instead of hz."
__label__YES "we should add a pre-arm check that the gps update rate is ok."
__label__NO 
__label__YES ">in that particular case the user was in stabilize mode when taking off so normally we would not check the gps but perhaps we should at least check the update rate if a gps is attached and refuse to arm."
__label__YES "plane: fix deepstall land detect disarming in flight"
__label__YES "deepstall never implemented is_on_approach() which can lead to is_flying determining that the aircraft is no longer flying and disarm."
__label__YES ">also corrects is_flying to only check for the landing stage on approach when in flight_land."
